
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGFieldDescription.h>

// Using =======================================================================
using namespace boost::python;

// Module ======================================================================
void Export_src_pyste_FieldDescription()
{
    class_< osg::FieldDescription >("FieldDescription", init< const osg::FieldDescription& >())
        .def(init< const osg::TypeBase&, const osg::Char8*, const osg::UInt32, const osg::BitVector, const bool, osg::FieldAccessMethod, optional< const osg::Char8* > >())
        .def(init< const osg::TypeBase&, const osg::Char8*, const osg::UInt32, const osg::BitVector, const bool, osg::FieldIndexAccessMethod, optional< const osg::Char8* > >())
        .def("getCName", &osg::FieldDescription::getCName)
        .def("getName", &osg::FieldDescription::getName, return_value_policy< copy_const_reference >())
        .def("getTypeId", &osg::FieldDescription::getTypeId)
        .def("getFieldMask", &osg::FieldDescription::getFieldMask)
        .def("setFieldMask", &osg::FieldDescription::setFieldMask)
        .def("getFieldId", &osg::FieldDescription::getFieldId)
        .def("setFieldId", &osg::FieldDescription::setFieldId)
        .def("getDefaultValue", &osg::FieldDescription::getDefaultValue)
        .def("getFieldType", &osg::FieldDescription::getFieldType, return_internal_reference< 1 >())
        .def("isInternal", &osg::FieldDescription::isInternal)
        .def("isValid", &osg::FieldDescription::isValid)
        .def("setAccessMethod", &osg::FieldDescription::setAccessMethod)
        .def("setIndexAccessMethod", &osg::FieldDescription::setIndexAccessMethod)
    ;

}

